package com.qf.staff.common.qo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 商品类别表
 */
@Data
@TableName(value = "yu_category")
public class CategoryQo {
    public static final String COL_ID = "id";
    public static final String COL_PRODUCT_NAME = "product_name";
    public static final String COL_CATEGORY_ID = "category_id";
    /**
     * 商品类型id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 商品类别名称
     */
    @TableField(value = "product_name")
    private String productName;
    /**
     * 上级
     */
    @TableField(value = "category_id")
    private Integer categoryId;
    @TableField(value = "`status`")
    @Version
    private Integer status;
}